package com.dmagic.cms.dao;

import java.util.List;

import org.springframework.stereotype.Component;

import com.dmagic.cms.common.dao.CommonDao;
import com.dmagic.cms.entity.LinkedHeatMap;

@Component
public class LinkedHeatMapDao extends CommonDao<LinkedHeatMap, Long> {

	public List<LinkedHeatMap> findLinkedHeatMapBy(Long linkedHeatMapLinkedId, Integer linkedHeatMapType) {
		return find("from LinkedHeatMap where linkedHeatMapLinkedId=? and linkedHeatMapType=?",
				linkedHeatMapLinkedId, linkedHeatMapType);
	}
}
